package cn.pugle.quartz.cluster;

import org.quartz.Scheduler;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

/**
 * Created by tzp on 16-11-21.
 */
public class ClusterSpringQuartzTest {
    public static void main(String[] args) {
        ApplicationContext x = new ClassPathXmlApplicationContext("quartz/quartz-cluster-context.xml");

        Scheduler quartzScheduler = x.getBean("quartzScheduler", Scheduler.class);
    }
}
